package org.jeecg.modules.permission.service.impl;

import org.jeecg.modules.permission.entity.TestDepart;
import org.jeecg.modules.permission.mapper.TestDepartMapper;
import org.jeecg.modules.permission.service.ITestDepartService;
import org.jeecg.modules.permission.vo.TestDepartPage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 测试部门表
 * @Author: jeecg-boot
 * @Date:   2022-03-02
 * @Version: V1.0
 */
@Service
public class TestDepartServiceImpl extends ServiceImpl<TestDepartMapper, TestDepart> implements ITestDepartService {

    @Autowired
    private TestDepartMapper testDepartMapper;

    @Override
    public TestDepartPage findById(String id) {
        return testDepartMapper.findById(id);
    }

    @Override
    public List<TestDepartPage> searchAll() {
        return testDepartMapper.searchAll();
    }
}
